package top.jiangqiang.qyblog.core.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(name = "文章新增或编辑", description = "")
public class ArticleSaveOrUpdateDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "文章ID")
    @NotNull(message = "文章ID不能为空")
    private Long id;

}
